<?php
        header("Content-Type: text/html; charset=UTF-8");
        require_once(APP.'libs'.DS.'system_properties.php');
?>
<xn:if-is-app-user>
<xn:iframe src="<?php echo SystemProperties::$app_host.'/game/loadGame?type='.$_REQUEST['type']?>" frameborder="0" width="810" height="1050" />
      <xn:else>
            <xn:redirect url="http://app.renren.com/apps/tos.do?api_key=b4df318ab094402487e7b7b7168634eb&v=1.0&next="/>
      </xn:else>
</xn:if-is-app-user>
